package com.ruoyi.system.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品库存对象 service_book_product_ware
 * 
 * @author Administrator
 * @date 2021-03-06
 */
public class ServiceBookProductWare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String productName;

    /** 当前库存量 */
    @Excel(name = "当前库存量")
    private Long productSum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductSum(Long productSum) 
    {
        this.productSum = productSum;
    }

    public Long getProductSum() 
    {
        return productSum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("productSum", getProductSum())
            .toString();
    }
}
